﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmListaDeEventos.aspx.cs" Inherits="ddcCajamarca.Web.Post.frmListaDeEventos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

    <asp:ListView ID="lvEventos" runat="server" 
        ItemType="ddcCajamarca.BusinessEntities.AgendaCultural.Evento"
        SelectMethod="GetEventos">
        <LayoutTemplate>
                <table class="table table-hover">
                    <thead>
                        <tr>
                            <th>ID</th>
                            <th>Nombre de Evento</th>
                            <th>Descripcion</th>
                            <th>Acciones</th>
                            <th>Opciones </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr id="itemPlaceholder" runat="server"/>
                    </tbody>
                </table>
            </LayoutTemplate>
        <ItemTemplate>
            <tr>
                <td><%# Item.Id %></td>
                <td><%# Item.NombreEvento %></td>
                <td>
                    <a href="frmNotaInformativa.aspx?nota=<%#Item.Id %>&accion=nuevo">nuevo</a>

                </td>
            </tr>
            
        </ItemTemplate>
    </asp:ListView>

</asp:Content>
